import UserLayout from "../framework/layouts/UserLayout";

/**
 * 基础路由
 */
export default [
  {
    path: "/index/login",
    name: "login",
    component: () => import("@/views/common/user/Login"),
  },
  {
    path: "/aaRichTextrichText2",//验证码登录
    name: "verificationCodeLogin",
    component: () => import("@/views/aaRichText/richText2"),
  },
  {
    path: "/index/verificationCodeLogin",//验证码登录
    name: "verificationCodeLogin",
    component: () => import("@/views/common/user/verificationCodeLogin"),
  },
  {
    path: "/inspectorSystemPersonalInfoSignedVersion", //在线签名
    name: "inspectorSystemPersonalInfoSignedVersion",
    component: () =>
      import("@/views/inspectorSystem/personalInfo/signedVersion"),
  },
  {
    path: "/candidateInformation", //考生信息
    name: "candidateInformation",
    component: () =>
      import("@/views/assessCheck/testPaper/candidateInformation"),
  },
  {
    path: "/examinationPaper", //考生信息
    name: "examinationPaper",
    component: () => import("@/views/assessCheck/testPaper/examinationPaper"),
  },
  {
    path: "/selectionRegistrationOnlineEvaluation", //在线评价
    name: "selectionRegistrationOnlineEvaluation",
    component: () => import("@/views/n-1-inspectorManage/selectionRegistration/onlineEvaluation"),
  },
  {
    path: "/queryResults", //查询分数
    name: "queryResults",
    component: () =>
      import("@/views/assessCheck/answerStatistics/queryResults"),
  },
  {
    path: "/questionnaireInvestigate", //问卷管理的问卷调查
    name: "questionnaireInvestigate",
    component: () =>
      import("@/views/assessCheck/questionnaireInvestigation/questionnaireManagement/questionnaire"),
  },
  {
    path: "/classificationCapabilities", //问卷管理的问卷调查
    name: "classificationCapabilities",
    component: () =>
      import("@/views/assessCheck/questionnaireInvestigation/classificationCapabilities/classificationCapabilities"),
  },
  {
    path: "/classificationInformation", //问卷管理的问卷调查
    name: "classificationInformation",
    component: () =>
      import("@/views/assessCheck/questionnaireInvestigation/classificationCapabilities/information"),
  },
  {
    path:'/questionnaireInformation',//问卷调查信息填写
    name: "questionnaireInformation",
    component: () =>
      import("@/views/assessCheck/questionnaireInvestigation/questionnaireManagement/information"),
  },
  {
    path:'/inspectorInformationTable',//审评员登记
    name: "inspectorInformationTable",
    component: () =>
      import("@/views/inspectorSystem/infoCollection/inspectorInformationTable"),
  },
  {
    path:'/selectionRegistrationValidate',//审评员遴选登记
    name: "selectionRegistrationValidate",
    component: () =>
      import("@/views/n-1-inspectorManage/selectionRegistration/validate"),
  },
  {
    path:'/selectionRegistrationSelectType',//审评员遴选类型
    name: "selectionRegistrationSelectType",
    component: () =>
      import("@/views/n-1-inspectorManage/selectionRegistration/selectType"),
  },
  {
    path:'/selectionRegistrationInspectorInformationTable',//审评员遴选报名
    name: "selectionRegistrationInspectorInformationTable",
    component: () =>
      import("@/views/n-1-inspectorManage/selectionRegistration/inspectorInformationTable"),
  },
  {
    path: "/informationConfirmation*", //方案制定环节--发送短息
    name: "informationConfirmation",
    component: () =>
      import("@/views/assessCheck/schemeProduction/informationConfirmation"),
  },
  {
    path: "/flexform", //审评员推荐表单
    name: "flexform",
    component: () =>
      import("@/views/everydayCheck/inspectormessage/FlexForm"),
  },
  {
    path: "/flexform-success", //审评员推荐表单-成功
    name: "ins-success",
    component: () =>
      import("@/views/everydayCheck/inspectormessage/success"),
  },{
    path: '/integrityAndSatisfaction',//廉洁自律和满意度调查
    name: 'integrityAndSatisfaction',
    component: () => import('@/views/assessCheck/questionnaireInvestigation/integrityAndSatisfaction/index')
  },{
    path: '/consultationAppointmentTable',//xx食品药品审评查验中心现场咨询预约登记表
    name: 'consultationAppointmentTable',
    component: () => import('@/views/administrativeOffice-new/consultationAppointment/consultationAppointmentTable')
  },{
    path: '/onSiteInspectionCheckInSignedVersion',//
    name: 'onSiteInspectionCheckInSignedVersion',
    component: () => import('@/views/onSiteInspectionCheck-In/signedVersion'),
  },{
    path: '/onSiteInspectionCheckInFirsMeeting',//
    name: 'onSiteInspectionCheckInFirsMeeting',
    component: () => import('@/views/onSiteInspectionCheck-In/firsMeeting'),
  },{
    path: '/onSiteInspectionCheckInInspectorCheckIn',//
    name: 'onSiteInspectionCheckInInspectorCheckIn',
    component: () => import('@/views/onSiteInspectionCheck-In/inspectorCheckIn'),
  },{
    path: '/onSiteInspectionCheckInToEvaluate',//
    name: 'onSiteInspectionCheckInToEvaluate',
    component: () => import('@/views/onSiteInspectionCheck-In/toEvaluate'),
  },{
    path: '/onSiteInspectionCheckInLastMeetingQD',//
    name: 'onSiteInspectionCheckInLastMeetingQD',
    component: () => import('@/views/onSiteInspectionCheck-In/lastMeetingQD'),
  },{
    path: '/businessManagementSatisfactionSurvey',//
    name: 'businessManagementSatisfactionSurvey',
    component: () => import('@/views/businessManagement/satisfactionSurvey'),
  },{
    path: "/index",
    component: UserLayout,
    redirect: "/index/login",
    hidden: true,
    children: [
      {
        path: "register",
        name: "register",
        component: () => import("@/views/common/user/Register"),
      },
      {
        path: "register-result",
        name: "registerResult",
        component: () => import("@/views/common/user/RegisterResult"),
      },
      {
        path: "alteration",
        name: "alteration",
        component: () => import("@/views/common/user/Alteration"),
      },
      {
        path: "lic",
        name: "lic",
        component: () => import("@/framework/console/LicTemp"),
      },
    ],
  },
  {
    path: "*",
    component: () => import("@/views/common/exception/404"),
  },
  {
    path: "/flow/:func/:id",
    component: () => import("@/views/bpm/redirect/RedirectPage"),
  },
  /*  {
      path: '/page/eform/redirect/:func/:formCode',
      component: () => import('@/views/eform/redirect/FormRedirectPage')
    },
    {
      path: '/page/view/redirect/:viewCode',
      component: () => import('@/views/eform/redirect/ViewRedirectPage')
    }*/
];
